fix: #102 keep Back to Top floating as a compact circle on mobile #113
+46
−11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #102
What was done
.back-to-topfixed near the bottom-right corner across desktop and mobile (client/src/components/BackToTop.css), respectingenv(safe-area-inset-*).<= 700px), kept the button floating as a compact 44×44 px (2.75rem) circular icon-only button by hiding.back-to-top__labelwhile preservingaria-label="Back to top"andaria-hidden="true"on the arrow icon (client/src/components/BackToTop.tsx)..results(client/src/components/ResultsLayout.css) so bottom-of-list controls such asLoad moreand the last card'sCratebutton remain unobstructed.client/src/components/BackToTop.test.tsx(accessible label, icon/label structure, axe check) and logged the entry indocs/AI-USAGE.md.What was tested
pnpm format:check && pnpm lint && pnpm typecheck && pnpm test && pnpm build— all passed.